/**
 * 
 */
package com.tencent.service;

import com.tencent.common.Configure;
import com.tencent.protocol.unifiedorder.UnifiedorderReqData;

/**
 * @author 乾红哥哥
 *
 */
public class NotifyService extends BaseService {
	
	public NotifyService() throws IllegalAccessException, InstantiationException, ClassNotFoundException {
        super(Configure.UNIFIED_ORDER_API);
    }

    /**
     * 请求支付服务
     * @param scanPayReqData 这个数据对象里面包含了API要求提交的各种数据字段
     * @return API返回的数据
     * @throws Exception
     */
    public String request(UnifiedorderReqData unifiedorderReqData) throws Exception {

        //--------------------------------------------------------------------
        //发送HTTPS的Post请求到API地址
        //--------------------------------------------------------------------
        String responseString = sendPost(unifiedorderReqData);

        return responseString;
    }
}
